.detailPage {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 导航栏样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.backButton {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.favoriteButton {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 活动图片样式 */
.activityImage {
  width: 60%;
  height: auto;
}

/* 活动信息样式 */
.activityInfo {
  padding: 16px;
  background-color: white;
  margin-bottom: 10px;
}

.activityTitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.infoItem {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.infoIcon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.infoText {
  font-size: 14px;
  color: #666;
}

/* 活动描述样式 */
.activityDescription {
  padding: 16px;
  background-color: white;
  margin-bottom: 80px; /* 为底部按钮留出空间 */
}

.sectionTitle {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 12px 0;
}

.descriptionText {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  white-space: pre-line; /* 保留换行符 */
}

/* 底部按钮样式 */
.bottomButton {
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  padding: 16px;
  background-color: white;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.joinButton {
  width: 100%;
  height: 44px;
  background-color: #ff6b00;
  color: white;
  border: none;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.joinButton:hover {
  background-color: #e86000;
}

/* 加载状态样式 */
.loadingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f5f5f5;
}

.loadingText {
  font-size: 16px;
  color: #666;
}